package com.wiken.storeservice.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wiken
 * @since 2023-02-08
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("user_store_activity")
@ApiModel(value = "UserStoreActivity对象", description = "")
public class UserStoreActivity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String userId;

    private String activityId;

    private Integer status; //1未使用 2已使用 3已过期 4不可用

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
